package sqlite.com.sqlite;

public class Music {
    int id;
    String title;
    String artist;
    String duration;
    String thumb_url;

    public Music() {

    }

    public Music(int id, String title, String artist, String duration, String thumb_url) {
        this.id = id;
        this.title = title;
        this.artist = artist;
        this.duration = duration;
        this.thumb_url = thumb_url;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public void setThumb_url(String thumb_url) {
        this.thumb_url = thumb_url;
    }

    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getArtist() {
        return artist;
    }

    public String getDuration() {
        return duration;
    }

    public String getThumb_url() {
        return thumb_url;
    }

    @Override
    public String toString() {
        return "Music{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", artist='" + artist + '\'' +
                ", duration='" + duration + '\'' +
                ", thumb_url='" + thumb_url + '\'' +
                '}'+ "哈哈哈哈哈哈";
    }
}
